import request from '/@/utils/request';

/**
 * 接口
 */
export function myApplyApi() {
    return {
        userApplyList: (data) => {
            return request({
                url: '/userApply/userApplyList',
                method: 'POST',
                data,
            });
        }, userApplyDetail: (data) => {
            return request({
                url: '/userApply/detail',
                method: 'POST',
                data,
            });
        },
        userApplySaveOrUpdate(data) {
            return request({
                url: '/userApply/userApplySaveOrUpdate',
                method: 'POST',
                data
            })
        },
        userApplyUndo(data) {
            return request({
                url: '/userApply/undo',
                method: 'POST',
                data
            })
        },
        userApplyApprove(data) {
            return request({
                url: '/userApply/approve',
                method: 'POST',
                data
            })
        },
        userApplyDeleted(data) {
            return request({
                url: '/userApply/userApplyDeleted',
                method: 'POST',
                data
            })
        },
    };
}
